package com.itcat.service.impl;


import com.itcat.api.mysql.UmsMemberLevelApi;
import com.itcat.mysql.pojo.UmsMemberLevel;
import com.itcat.service.UmsMemberLevelService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 小心触碰的电脑
* @description 针对表【ums_member_level(会员等级表)】的数据库操作Service实现
* @createDate 2022-04-03 15:27:40
*/
@Service
public class UmsMemberLevelServiceImpl implements UmsMemberLevelService {

    @DubboReference
    private UmsMemberLevelApi umsMemberLevelApi;

    /**
     * 查询所有会员等级
     * @param defaultStatus
     * @return
     */
    @Override
    public List<UmsMemberLevel> list(Integer defaultStatus) {
        List<UmsMemberLevel> list = umsMemberLevelApi.list(defaultStatus);
        return list;
    }
}
